package com.sgb.kjwl.model.entity.self;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
//2.2.3.1 能源类型
public class EnergyTypeEntity implements IPickerViewData {
    @SerializedName("imageSourceCode")
    private String no;
    @SerializedName("imageVehicleEnergyType")
    private String name;

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "EnergyTypeEntity{" +
                "no='" + no + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
    @Override
    public String getPickerViewText() {
        return name;
    }
}
